<extend name="Common/base"/>

<block name="body">
    
    <div class="sub_con">
        <div class="sub_l">
            <div class="title2">
                <div class="black"><a href="/">首页</a>><a href="{:U('Item/index')}">政策信息</a></div>
                <h3>培训班信息</h3>
            </div>
            <div class="fl">
                <ul>
                    <li><a href="{:U('Item/index')}" class="<if condition="I('get.did',0) eq 0">active</if>">全部</a></li>
                    <volist name="districts" id="info">
                        <li><a href="{:U('Item/index',array('did'=>$info['id']))}"
                               class="<if condition="$info['id'] eq I('get.did')">active</if>">
                            {$info.title} ({$info.item_num})
                            </a>
                        </li>
                    </volist>
                </ul>
            </div>
            <div class="pxnr">
                <ul>
                    <volist name="items" id="info">
                        <li>
                            <!-- <div class="img"><a href="#"><img src="images/yzm.png"></a></div> -->
                            <div class="wz1">
                                <h3><a href="{:U('Item/detail',array('id'=>$info['id']))}"> {$info.title|search=###,I('get.key')}</a></h3>
                                <if condition="I('get.did',0)"><else/><span>地区：{$info.district}</span></if>
                                <span>地址：{$info.address}</span>
                                <span>电话：{$info.phone}</span>
                                
                                <if condition="empty($info['check_records'])">
                                    <span>无年审记录</span>
                                <else/>
                                    <volist name="info.check_records" id="record">
                                        <span>{$record.text}</span>
                                    </volist>
                                </if>
                            </div>
                        </li>
                    </volist>
                </ul>
            </div>
                <div class="sub_fenye">
                    {$page}
                </div>
        </div>
        <div class="sub_r" >
            <div class="title1">
                <div class="more1"><a href="{:U('Item/index')}">+ MORE</a></div>
                <div class="title1_l">推荐培训班</div>
            </div>
            <div class="new_nr">
                <ul>
                    <article:position pos="2" name="info" limit="6" type="Item">
                        <li><span>{$info.district}</span><a href="{:U('Item/detail',array('id'=>$info['id']))}">{$info.title}</a></li>
                    </article:position>
                </ul>
            </div>
        </div>
    </div>
</block>